<form action="<?php echo url_for('@login') ?>" method="post" autocomplete="off">
<table align="center">
    <tr>
        <td>User</td>
        <td><input type="text" id="user" name="user" value="ricardo" autocomplete="off"/></td>
    </tr>
    <tr>
        <td>Password</td>
        <td><input type="password" id="password" name="password"  /></td>
    </tr>
    <tr>
        <td colspan="2" align="center">
            <input type="submit" value="Login"/>
        </td>
    </tr>
    <tr>
      <td colspan="2">
        <?php if($sf_user->hasFlash('message')){ ?>
          <div class="message" style="width: 200px;">
            <?php echo $sf_user->getFlash('message') ?>
        </div>
        <?php } ?>
      </td>
    </tr>
</table>
</form>
<script type="text/javascript">
$(document).ready(function(){
    $("#user").focus();
});
</script>